Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporter fail exception fix #150

Merged
merged 3 commits into from
May 17, 2014
Merged

Reporter fail exception fix #150

merged 3 commits into from
May 17, 2014

Conversation

soerennielsen
Copy link
Contributor

This is a small fix for the runner.fail method that can fail with a WebDriverTimeoutException.

Tested with a misbehaving website that sometimes aborted requests (crappy firewall). In the case of a misbehaving/stuck page the test would fail (after various timeouts) but the webdriver would still be stuck and the subsequent screenshot request would fail. Tested with the firefox webdriver.

Also added support for configuration of the screenshot path.

Fix for the fail function in the runner. In the case of a misbehaving
website that timed out the screenshot function might also timeout as the
webdriver may be busy trying to retrieve the html page.
Fix for the fail function ensures that the entire test run is not broken
because of a single test/page fail.

Also made the screenshot save location configurable.
@lefthandedgoat
Copy link
Owner

Thanks, I love pull requests!

Would you like a new nuget build for this?

lefthandedgoat added a commit that referenced this pull request May 17, 2014
@lefthandedgoat lefthandedgoat merged commit cd66eef into lefthandedgoat:master May 17, 2014
@soerennielsen
Copy link
Contributor Author

I just made another :-)

That was the last one I had to merge back from my larger web test project.

I would love a new nuget package after that one.

Thanks a lot.

On 17 May 2014 21:29, lefthandedgoat [email protected] wrote:

Thanks, I love pull requests!

Would you like a new nuget build for this?


Reply to this email directly or view it on GitHubhttps://github.com//pull/150#issuecomment-43421977
.

@soerennielsen soerennielsen deleted the ReporterFailExceptionFix branch May 18, 2014 18:33
@lefthandedgoat
Copy link
Owner

This is now in canopy 0.9.10 https://www.nuget.org/packages/canopy/0.9.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants